from Factory.template_enum import TemplateType
from Factory.video_template_factory import TemplateFactory

if __name__ == '__main__':
    templateA = TemplateFactory.get_template("A")
    # 创建一个json对象
    video_info = {
        "video_path": "D:/video/video.mp4",
        "subtitle_path": "D:/video/subtitle.srt",
    }
    templateA.generate(video_info);

    templateB = TemplateFactory.get_template("B")
    templateB.generate(video_info);
